Retrieves the free disk space of a drive, in Megabytes.
DriveSpaceFree, OutputVar, Path
OutputVar | The variable in which to store the result, which is rounded down to the nearest whole number. |
path | Path of drive to receive information from. Since NTFS supports mounted volumes and directory junctions, different amounts of free space might be available in different folders of the same "drive" in some cases. |
OutputVar is set to the amount of free disk space in Megabytes (rounded down to the nearest Megabyte).
DriveSpaceFree, FreeSpace, c:\